package com.asset.inventory.model

import java.io.Serializable

/**
 *    @author : sibb
 *    date   : 21-4-7
 *    desc   : 任务详情
 *
 *    "status": "success",
"data": [
{
"id": 1218,
"createTime": "2021-04-07 00:08:23",
"updateTime": "2021-04-07 00:08:23",
"name": "接入路由器",
"code": "KJ1190202020629",
"type": "1190202020000",
"contractNo": null,
"locationCode": null,
"locationName": null,
"status": "idle",
"userId": "zhangzhenhua",
"userName": "张振华",
"orgId": "kj_zybzb",
"orgName": "资源保障部",
"updateUserId": null,
"updateUserName": null,
"updateOrgCode": null,
"updateOrgName": null,
"updateLocationCode": null,
"updateLocationName": null,
"note": null,
"dutyResultStatus": "wait",
"dutyId": 5,
"dutyName": "路由器盘点",
"planName": "33322"
},
 */
data class TaskDetailBean(val status: String?, val data: MutableList<Detail>?): Serializable{
    data class Detail(var id: Long
                      , val createTime: String?
                      , val updateTime: String?
                      , val name: String? // 盘点任务名称
                      , val code: String?
                      , val type: String?
                      , val locationCode: String?
                      , val locationName: String?
                      , var status: String? // 盘点任务状态
                      , val userId: String?
                      , val userName: String?
                      , val orgId: String?
                      , val orgName: String?
                      , var dutyResultStatus: String?
                      , val dutyId: Int?
                      , val dutyName: String?
                      , val planName: String?
                      , var updateUserId: String?
                      , var updateUserName: String?
                      , var updateOrgCode: String?
                      , var updateOrgName: String?
                      , var updateLocationCode: String?
                      , var updateLocationName: String?
                      , var serialnumber: String?
                      , var isWaitCommit: Boolean = false
                      , var computerRoom: String?
                      , var cabinet: String?
    ): Serializable
}